package com.wbk.lotterysystemsystemservice.controller.admin;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.wbk.user.feign.StoreFeign;
import com.wbk.user.qo.StoreAuditQO;
import com.wbk.user.vo.StoreVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import result.Result;

@Api
@RestController
@RequestMapping("/system/api/admin/store")
public class StoreController {

    @Autowired
    StoreFeign storeFeign;

    @ApiOperation(value = "商家审核接口", notes = "商家审核")
    @PostMapping("/storeAudit")
    public Result<StoreVO> storeAudit(@RequestBody StoreAuditQO storeAuditQO) {
        return storeFeign.storeAudit(storeAuditQO);
    }
}
